package com.ck.shardinggo.model;

public class Resource {
    private Integer id;

    private Integer resourcetype;

    private String resourcename;

    private String resourcetypename;

    private String resourcemodel;

    private String resourceuniqueid;

    private String os;

    private String ip;

    private String mask;

    private String cpu;

    private String mem;

    private String mac;

    private Integer managetype;

    private Integer managestatus;

    private Boolean iscritical;

    private String district;

    private String manager;

    private String description;

    private Integer majorport;

    private String locatedserver;

    private Integer health;

    private Integer availability;

    private String manufacturer;

    private String locationcode;

    private Integer resourceid;

    private Integer childresourceindex;

    private String capacity;

    private Integer locatedserverid;

    private Integer parentresourceid;

    private Integer portindex;

    private Integer unum;

    private Integer portnum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getResourcetype() {
        return resourcetype;
    }

    public void setResourcetype(Integer resourcetype) {
        this.resourcetype = resourcetype;
    }

    public String getResourcename() {
        return resourcename;
    }

    public void setResourcename(String resourcename) {
        this.resourcename = resourcename == null ? null : resourcename.trim();
    }

    public String getResourcetypename() {
        return resourcetypename;
    }

    public void setResourcetypename(String resourcetypename) {
        this.resourcetypename = resourcetypename == null ? null : resourcetypename.trim();
    }

    public String getResourcemodel() {
        return resourcemodel;
    }

    public void setResourcemodel(String resourcemodel) {
        this.resourcemodel = resourcemodel == null ? null : resourcemodel.trim();
    }

    public String getResourceuniqueid() {
        return resourceuniqueid;
    }

    public void setResourceuniqueid(String resourceuniqueid) {
        this.resourceuniqueid = resourceuniqueid == null ? null : resourceuniqueid.trim();
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os == null ? null : os.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getMask() {
        return mask;
    }

    public void setMask(String mask) {
        this.mask = mask == null ? null : mask.trim();
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu == null ? null : cpu.trim();
    }

    public String getMem() {
        return mem;
    }

    public void setMem(String mem) {
        this.mem = mem == null ? null : mem.trim();
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac == null ? null : mac.trim();
    }

    public Integer getManagetype() {
        return managetype;
    }

    public void setManagetype(Integer managetype) {
        this.managetype = managetype;
    }

    public Integer getManagestatus() {
        return managestatus;
    }

    public void setManagestatus(Integer managestatus) {
        this.managestatus = managestatus;
    }

    public Boolean getIscritical() {
        return iscritical;
    }

    public void setIscritical(Boolean iscritical) {
        this.iscritical = iscritical;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district == null ? null : district.trim();
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager == null ? null : manager.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getMajorport() {
        return majorport;
    }

    public void setMajorport(Integer majorport) {
        this.majorport = majorport;
    }

    public String getLocatedserver() {
        return locatedserver;
    }

    public void setLocatedserver(String locatedserver) {
        this.locatedserver = locatedserver == null ? null : locatedserver.trim();
    }

    public Integer getHealth() {
        return health;
    }

    public void setHealth(Integer health) {
        this.health = health;
    }

    public Integer getAvailability() {
        return availability;
    }

    public void setAvailability(Integer availability) {
        this.availability = availability;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer == null ? null : manufacturer.trim();
    }

    public String getLocationcode() {
        return locationcode;
    }

    public void setLocationcode(String locationcode) {
        this.locationcode = locationcode == null ? null : locationcode.trim();
    }

    public Integer getResourceid() {
        return resourceid;
    }

    public void setResourceid(Integer resourceid) {
        this.resourceid = resourceid;
    }

    public Integer getChildresourceindex() {
        return childresourceindex;
    }

    public void setChildresourceindex(Integer childresourceindex) {
        this.childresourceindex = childresourceindex;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity == null ? null : capacity.trim();
    }

    public Integer getLocatedserverid() {
        return locatedserverid;
    }

    public void setLocatedserverid(Integer locatedserverid) {
        this.locatedserverid = locatedserverid;
    }

    public Integer getParentresourceid() {
        return parentresourceid;
    }

    public void setParentresourceid(Integer parentresourceid) {
        this.parentresourceid = parentresourceid;
    }

    public Integer getPortindex() {
        return portindex;
    }

    public void setPortindex(Integer portindex) {
        this.portindex = portindex;
    }

    public Integer getUnum() {
        return unum;
    }

    public void setUnum(Integer unum) {
        this.unum = unum;
    }

    public Integer getPortnum() {
        return portnum;
    }

    public void setPortnum(Integer portnum) {
        this.portnum = portnum;
    }
}